inspector: Don't leak recordings
authorMatthias Clasen <mclasen@redhat.com>
Thu, 18 Jan 2018 00:12:27 +0000 (19:12 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 18 Jan 2018 00:12:55 +0000 (19:12 -0500)
commit18dc994de731c8c5d58e7c9ad72379018944f38d
treee088ebaaa79966298a21a95a11ec99b567bbd815
parent5e7b3030b913b82ddd9e54d49028b0c6dce75211
inspector: Don't leak recordings

g_list_model_get_item is transfer full, so we need
to drop the references we get from it. This was showing
up while testing the GL texture cache in GtkGLArea.
gtk/inspector/recorder.c